class EcasesAuthorId < ActiveRecord::Migration
  def self.up
    execute "ALTER TABLE `ecases` ADD `author_id` INT NOT NULL;"
  end

  def self.down
    execute "ALTER TABLE `ecases` DROP `author_id`"
  end
end